package com.TT.dao.mysql;

import com.TT.domain.mysql.User;

import java.util.ArrayList;

public interface UserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUserName(String userName);

    ArrayList<User> selectAllOrderByUserName();
}